package com.thor.palmmall.card.member;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author liyang @since1.0
 */
public class SMember {

  /** 会员标识 */
  private String id;
  /** 会员名称 */
  private String name;
  /** 性别 */
  private String gender;
  /** 生日 */
  private SBirthday birthday;
  /** 手机号 */
  private String cellphone;
  /** 电子邮箱 */
  private String email;
  /** 证件 */
  private SIdentifyCard idCard;
  /** 所属门号标识 */
  private String belongStore;
  /** 婚姻状况 */
  private String wedLock;
  /** 会员等级代码 */
  private String grade;
  /** 家庭常住地址 */
  private String address;
  /** 手机是否校验 */
  private boolean mobileChecked;
  /** 最后更新时间 */
  private String lastUpdateTime;
  /** 注册地址 */
  private SRegisterAddress registerAddress;
  /** 邮编 */
  private String zip;
  /** 备注 */
  private String remark;
  /** 传真 */
  private String fax;
  /** 电话 */
  private String telephone;
  /** QQ号 */
  private String qq;
  /** 学历 */
  private String degree;
  private String receiveSM;
  /** 送货地址 */
  private List<SAddress> deliveryAddress;
  /** 会员来源 */
  private String mbrSource;

  /** 车牌号1 */
  private String carplateNum;
  /** 车牌号2 */
  private String carplateNum2;

  /** 是否自动续期 */
  private int autoReNew;

  /** 剩余停车小时数 */
  private BigDecimal remainHour;

  private String accountManagerCode;

  private String accountManagerName;

  private List<SAttribute> extAttributes;

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getGender() {
    return gender;
  }

  public void setGender(String gender) {
    this.gender = gender;
  }

  public SBirthday getBirthday() {
    return birthday;
  }

  public void setBirthday(SBirthday birthday) {
    this.birthday = birthday;
  }

  public String getCellphone() {
    return cellphone;
  }

  public void setCellphone(String cellphone) {
    this.cellphone = cellphone;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public SIdentifyCard getIdCard() {
    return idCard;
  }

  public void setIdCard(SIdentifyCard idCard) {
    this.idCard = idCard;
  }

  public String getBelongStore() {
    return belongStore;
  }

  public void setBelongStore(String belongStore) {
    this.belongStore = belongStore;
  }

  public String getWedLock() {
    return wedLock;
  }

  public void setWedLock(String wedLock) {
    this.wedLock = wedLock;
  }

  public String getGrade() {
    return grade;
  }

  public void setGrade(String grade) {
    this.grade = grade;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public boolean isMobileChecked() {
    return mobileChecked;
  }

  public void setMobileChecked(boolean mobileChecked) {
    this.mobileChecked = mobileChecked;
  }

  public String getLastUpdateTime() {
    return lastUpdateTime;
  }

  public void setLastUpdateTime(String lastUpdateTime) {
    this.lastUpdateTime = lastUpdateTime;
  }

  public SRegisterAddress getRegisterAddress() {
    return registerAddress;
  }

  public void setRegisterAddress(SRegisterAddress registerAddress) {
    this.registerAddress = registerAddress;
  }

  public String getZip() {
    return zip;
  }

  public void setZip(String zip) {
    this.zip = zip;
  }

  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  public String getFax() {
    return fax;
  }

  public void setFax(String fax) {
    this.fax = fax;
  }

  public String getTelephone() {
    return telephone;
  }

  public void setTelephone(String telephone) {
    this.telephone = telephone;
  }

  public String getQq() {
    return qq;
  }

  public void setQq(String qq) {
    this.qq = qq;
  }

  public String getDegree() {
    return degree;
  }

  public void setDegree(String degree) {
    this.degree = degree;
  }

  public String getReceiveSM() {
    return receiveSM;
  }

  public void setReceiveSM(String receiveSM) {
    this.receiveSM = receiveSM;
  }

  public List<SAddress> getDeliveryAddress() {
    return deliveryAddress;
  }

  public void setDeliveryAddress(List<SAddress> deliveryAddress) {
    this.deliveryAddress = deliveryAddress;
  }

  public String getMbrSource() {
    return mbrSource;
  }

  public void setMbrSource(String mbrSource) {
    this.mbrSource = mbrSource;
  }

  public String getCarplateNum() {
    return carplateNum;
  }

  public void setCarplateNum(String carplateNum) {
    this.carplateNum = carplateNum;
  }

  public String getCarplateNum2() {
    return carplateNum2;
  }

  public void setCarplateNum2(String carplateNum2) {
    this.carplateNum2 = carplateNum2;
  }

  public int getAutoReNew() {
    return autoReNew;
  }

  public void setAutoReNew(int autoReNew) {
    this.autoReNew = autoReNew;
  }

  public BigDecimal getRemainHour() {
    return remainHour;
  }

  public void setRemainHour(BigDecimal remainHour) {
    this.remainHour = remainHour;
  }

  public String getAccountManagerCode() {
    return accountManagerCode;
  }

  public void setAccountManagerCode(String accountManagerCode) {
    this.accountManagerCode = accountManagerCode;
  }

  public String getAccountManagerName() {
    return accountManagerName;
  }

  public void setAccountManagerName(String accountManagerName) {
    this.accountManagerName = accountManagerName;
  }

  public List<SAttribute> getExtAttributes() {
    return extAttributes;
  }

  public void setExtAttributes(List<SAttribute> extAttributes) {
    this.extAttributes = extAttributes;
  }

  public static class SBirthday {
    /** 生日年份 */
    private int year;
    /** 生日月份 */
    private int month;
    /** 生日天份 */
    private int day;

    public SBirthday() {

    }

    public SBirthday(int year, int month, int day) {
      this.year = year;
      this.month = month;
      this.day = day;
    }

    public int getYear() {
      return year;
    }

    public void setYear(int year) {
      this.year = year;
    }

    public int getMonth() {
      return month;
    }

    public void setMonth(int month) {
      this.month = month;
    }

    public int getDay() {
      return day;
    }

    public void setDay(int day) {
      this.day = day;
    }
  }

  public static class SIdentifyCard {

    /** 证件类型 */
    private String type;
    /** 证件号 */
    private String id;

    public String getType() {
      return type;
    }

    public void setType(String type) {
      this.type = type;
    }

    public String getId() {
      return id;
    }

    public void setId(String id) {
      this.id = id;
    }

  }

  public static class SRegisterAddress {

    /** 省/市代码 */
    private String provinceCode;
    /** 省/市名称 */
    private String provinceName;
    /** 市/区代码 */
    private String cityCode;
    /** 市/区名称 */
    private String cityName;
    /** 区县代码 */
    private String districtCode;
    /** 区县名称 */
    private String districtName;

    public String getProvinceCode() {
      return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
      this.provinceCode = provinceCode;
    }

    public String getProvinceName() {
      return provinceName;
    }

    public void setProvinceName(String provinceName) {
      this.provinceName = provinceName;
    }

    public String getCityCode() {
      return cityCode;
    }

    public void setCityCode(String cityCode) {
      this.cityCode = cityCode;
    }

    public String getCityName() {
      return cityName;
    }

    public void setCityName(String cityName) {
      this.cityName = cityName;
    }

    public String getDistrictCode() {
      return districtCode;
    }

    public void setDistrictCode(String districtCode) {
      this.districtCode = districtCode;
    }

    public String getDistrictName() {
      return districtName;
    }

    public void setDistrictName(String districtName) {
      this.districtName = districtName;
    }
  }

  public static class SAddress {

    /** 全局唯一标识 */
    private String uuid;
    /** 是否是默认地址 */
    private boolean defaultAddr;
    /** 联系人 */
    private String contact;
    /** 手机号 */
    private String cellphone;
    /** 会员标识 */
    private String memberId;
    /** 序号 */
    private int order;
    /** 省市 */
    private String province;
    /** 市区 */
    private String city;
    /** 区县 */
    private String district;
    /** 详细地址 */
    private String address;
    /** 邮编 */
    private String postcode;

    public String getUuid() {
      return uuid;
    }

    public void setUuid(String uuid) {
      this.uuid = uuid;
    }

    public boolean isDefaultAddr() {
      return defaultAddr;
    }

    public void setDefaultAddr(boolean defaultAddr) {
      this.defaultAddr = defaultAddr;
    }

    public String getContact() {
      return contact;
    }

    public void setContact(String contact) {
      this.contact = contact;
    }

    public String getCellphone() {
      return cellphone;
    }

    public void setCellphone(String cellphone) {
      this.cellphone = cellphone;
    }

    public String getMemberId() {
      return memberId;
    }

    public void setMemberId(String memberId) {
      this.memberId = memberId;
    }

    public int getOrder() {
      return order;
    }

    public void setOrder(int order) {
      this.order = order;
    }

    public String getProvince() {
      return province;
    }

    public void setProvince(String province) {
      this.province = province;
    }

    public String getCity() {
      return city;
    }

    public void setCity(String city) {
      this.city = city;
    }

    public String getDistrict() {
      return district;
    }

    public void setDistrict(String district) {
      this.district = district;
    }

    public String getAddress() {
      return address;
    }

    public void setAddress(String address) {
      this.address = address;
    }

    public String getPostcode() {
      return postcode;
    }

    public void setPostcode(String postcode) {
      this.postcode = postcode;
    }

  }

  public static class SAttribute {

    private String key;
    private String value;

    public String getKey() {
      return key;
    }

    public void setKey(String key) {
      this.key = key;
    }

    public String getValue() {
      return value;
    }

    public void setValue(String value) {
      this.value = value;
    }

  }

}
